package main.java.polo;

public class Patient {
    private Integer patientId;
    private String patientName;
    private String patientRecord;
    private String patientHistory;

    public Patient() {
    }

    public Patient(Integer patientId, String patientName, String patientRecord, String patientHistory) {
        this.patientId = patientId;
        this.patientName = patientName;
        this.patientRecord = patientRecord;
        this.patientHistory = patientHistory;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getPatientRecord() {
        return patientRecord;
    }

    public void setPatientRecord(String patientRecord) {
        this.patientRecord = patientRecord;
    }

    public String getPatientHistory() {
        return patientHistory;
    }

    public void setPatientHistory(String patientHistory) {
        this.patientHistory = patientHistory;
    }
    @Override
    public String toString() {
        return "Patient{" +
                "patientId=" + patientId +
                ", patientName='" + patientName + '\'' +
                ", patientRecord='" + patientRecord + '\'' +
                ", patientHistory='" + patientHistory + '\'' +
                '}';
    }
}
